<div class="base-background" ng-if="$parent.showRentRenew">
    <div class="base-window-box pro-change-phone-box-m pro-change-phone-box-mhw">
            <div class="base-window-content-boxs">
                <div class="base-window-title-box base-window-verify-title">
                    <h6 class="base-window-head base-window-title">续 租</h6>
                </div>
                <div class="lofi-text-content lofi-verify-text-content">
                    <div class="lofi-content-text lofi-content-verify-text lofi-content-first">
                        <p class="lofi-content-title lofi-verify-title">租期：</p>
                        <div class="datepicker-box dropdown form-control lofi-content-time">
                            <a ng-click="$parent.showEndTime=false;$parent.showStartTime=!$parent.showStartTime;" class="dropdown-toggle datepicker-select-renew"  role="button" data-toggle="dropdown" data-target="#"
                               >
                                <p class="lofi-time-text lofi-time-text-other" ng-class="rentProtocol.beginTime ? 'selected-start-time':''">{{$parent.rentProtocol.beginTime ? $parent.rentProtocol.getBeginTimeString() :'开始时间'}}</p>
                            </a>
                            <ul ng-class="{true: 'lofi-time-show'}[$parent.showStartTime]" class="dropdown-menu" role="menu" aria-labelledby="startTimeLabel">
                                <datetimepicker data-ng-model="data.date"
                                                data-on-set-time="onTimeSetStart(newDate, oldDate)"
                                                data-before-render="beginDateBeforeRender($view, $dates)"
                                                data-datetimepicker-config="{'startView':'year', 'minView': 'day'}"></datetimepicker>
                            </ul>
                        </div><span class="lofi-time-line"></span>
                        <div class="datepicker-box dropdown form-control lofi-content-time">
                            <a ng-click="$parent.showEndTime=!$parent.showEndTime;$parent.showStartTime=false;" class="dropdown-toggle datepicker-select-renew"  role="button" data-toggle="dropdown" data-target="#"
                               href="">
                                <p class="lofi-time-text lofi-time-text-other" ng-class="$parent.rentProtocol.endTime ? 'selected-start-time':''">{{$parent.rentProtocol.endTime ? $parent.rentProtocol.getEndTimeString() :'结束时间'}}</p>
                            </a>
                            <ul ng-class="{true: 'lofi-time-show'}[$parent.showEndTime]" class="dropdown-menu" role="menu" aria-labelledby="endTimeLabel">
                                <datetimepicker data-ng-model="data.date"
                                                data-on-set-time="onTimeSetEnd(newDate, oldDate)"
                                                data-before-render="endDateBeforeRender($view, $dates)"
                                                data-datetimepicker-config="{'startView':'year', 'minView': 'day'}"></datetimepicker>
                            </ul>
                        </div>
                    </div>
                    <div class="lofi-content-text lofi-content-verify-text ">
                        <p class="lofi-content-title lofi-verify-title">缴租周期：</p><input placeholder="请输入缴租周期" ng-model="rentProtocol.payCycle" type="number" ng-change="checkCountPayCycle($parent.rentProtocol.payCycle)" class="form-control lofi-content-input">
                    </div>
                    <div class="lofi-content-text lofi-content-verify-text">
                        <p class="lofi-content-title lofi-verify-title">月租金：</p><input placeholder="请输入月租金" ng-model="rentProtocol.monthlyRent" type="number" ng-change="checkCountMonthlyRent($parent.rentProtocol.monthlyRent)" class="form-control lofi-content-input">
                    </div>
                </div>

                <div class="pro-write-page-box pro-phone-button-box lofi-verify-button">
                    <input ng-click="submitRenewd($parent.rentProtocol)" type="button" class="pro-phone-button" value="确认续租">
                </div>
            </div>

            <a class="base-close-window" ng-click="$parent.$parent.showRentRenew=false">
                <!--<span class="base-close-window-content" ng-style="EleStyle.lineHeight('base-close-window', 1)">✕</span>-->
                <span class="base-close-window-content">ｘ</span>
            </a>

        </div>
</div>